export default {
  saveToken(state, token) {
    state.token = token;
  },
  saveUsername(state, username) {
    state.username = username;
  },
  saveName(state, name) {
    state.name = name;
  },
  saveRole(state, role) {
    state.role = role;
  },
  savePC(state, PC) {
    state.PC = PC;
  },
};
